package com.bjpowernode.crm.workbench.mapper;

import com.bjpowernode.crm.workbench.domain.Activity;

import java.util.List;
import java.util.Map;

public interface ActivityMapper {
    int deleteByPrimaryKey(String id);

    int insert(Activity record);

    int insertSelective(Activity record);

    Activity selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Activity record);

    int updateByPrimaryKey(Activity record);

    List<Activity> queryActivities(Map requestMap);

    Integer queryActivities2(Map requestMap);

    Integer deleteActivityBtn(String[] ids);

    List<Activity> selectActivities();

    Integer addActivitiesByList(List<Activity> activityList);

    List<Activity> selectActivitiesbyids(String[] ids);

    Activity queryById(String id);

    List<Activity> selectActivitiesByClueId(String clueId);

    List<Activity> selectActivityByactivityIdAndclueId(Map map);
}